package com.oa.ylms.apps.business.organization;

import java.util.List;

import com.oa.ylms.apps.entity.organization.PostCategoryValue;

public interface IPostCategoryService {
        public int addPostCategory(String categoryName)throws Exception;
        public boolean deletePostCategory(String categoryIds)throws Exception;
        public boolean modifyPostCategory(int categoryId, String categoryName)throws Exception;
        public boolean toDisable(int categoryId)throws Exception;
        public boolean toEnable(int categoryId)throws Exception;
        public PostCategoryValue queryByCategoryId(int categoryId)throws Exception;
        public List<PostCategoryValue> queryALLCategoryInfo()throws Exception;
        //useless
        public List<PostCategoryValue> queryPostCategoryByStates(Integer states)throws Exception;
}
